package model;

import java.sql.Timestamp;

public class Flight {
	
	private int id;
	private int planeId;
	private String operator;
	private String source;
	private String destination;
	private int firstClass;
	private int business;
	private int economy;
	private Timestamp departure;
	private Timestamp arrival;
	private String timeDifference;
	private int cost;
	private int seats;
	private String selectedClass;
	
	public Flight() {
		super();
	}
	
	public Flight(int id, int planeId, String operator, String source, 
			String destination, int firstClass, int business, int economy, 
			Timestamp departure, Timestamp arrival, String timeDifference, int cost) {
		super();
		this.id = id;
		this.planeId = planeId;
		this.operator = operator;
		this.source = source;
		this.destination = destination;
		this.firstClass = firstClass;
		this.business = business;
		this.economy = economy;
		this.departure = departure;
		this.arrival = arrival;
		this.timeDifference = timeDifference;
		this.cost = cost;
	}
	
	public Flight(int id, int planeId, String operator, String source, 
			String destination, int firstClass, int business, int economy, 
			Timestamp departure, Timestamp arrival, String timeDifference, int cost,
			String selectedClass) {
		super();
		this.id = id;
		this.planeId = planeId;
		this.operator = operator;
		this.source = source;
		this.destination = destination;
		this.firstClass = firstClass;
		this.business = business;
		this.economy = economy;
		this.departure = departure;
		this.arrival = arrival;
		this.timeDifference = timeDifference;
		this.cost = cost;
		this.selectedClass = selectedClass;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getPlaneId() {
		return planeId;
	}
	public void setPlaneId(int planeId) {
		this.planeId = planeId;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getDestination() {
		return destination;
	}
	public void setDestination(String destination) {
		this.destination = destination;
	}
	public int getFirstClass() {
		return firstClass;
	}
	public void setFirstClass(int firstClass) {
		this.firstClass = firstClass;
	}
	public int getBusiness() {
		return business;
	}
	public void setBusiness(int business) {
		this.business = business;
	}
	public int getEconomy() {
		return economy;
	}
	public void setEconomy(int economy) {
		this.economy = economy;
	}
	public Timestamp getDeparture() {
		return departure;
	}
	public void setDeparture(Timestamp departure) {
		this.departure = departure;
	}
	public Timestamp getArrival() {
		return arrival;
	}
	public void setArrival(Timestamp arrival) {
		this.arrival = arrival;
	}
	public String getTimeDifference() {
		return timeDifference;
	}
	public void setTimeDifference(String timeDifference) {
		this.timeDifference = timeDifference;
	}

	public int getCost() {
		return cost;
	}

	public void setCost(int cost) {
		this.cost = cost;
	}

	public int getSeats() {
		return seats;
	}

	public void setSeats(int seats) {
		this.seats = seats;
	}

	public String getSelectedClass() {
		return selectedClass;
	}

	public void setSelectedClass(String selectedClass) {
		this.selectedClass = selectedClass;
	} 
}
